
<template>
	<div>
		ServiceTask需要自动触发
	</div>
</template>
<script setup>
import { onMounted, ref, watch, toRaw, inject, getCurrentInstance } from 'vue'
import ConditionTable from './ConditionTable.vue'
import * as monaco from 'monaco-editor'
import processVersionContentApi from '@/api/process/processVersionContentApi'

const props = defineProps(['componentConfig', 'nodeId', 'id', 'frontFile'])

const defaultConfig = () => {
	return {
		output: {
		}
	}
}

onMounted(async () => {
	if (!hasProperties(props.componentConfig)) {
		const c = defaultConfig()
		props.componentConfig.output = c.output
	}

})

const hasProperties = (obj) => {
	if (!obj) {
		return false
	}

	return JSON.stringify(obj) != '{}'
}

</script>


<style scoped></style>
